package com.vehicle.auto.click.common;

import javax.swing.JTextArea;

public class UiJTextArea extends JTextArea {
    public static volatile UiJTextArea textArea;

    public static UiJTextArea getUiJTextArea() {
        if (null == textArea) {
            Class var0 = UiJTextArea.class;
            synchronized(UiJTextArea.class) {
                textArea = new UiJTextArea();
            }
        }

        return textArea;
    }

    public static void appendJTextArea(String msg) {
        textArea.append(msg + "\r\n");
        textArea.paintImmediately(textArea.getBounds());
    }
}
